<template>
    <h2>当前点击时的鼠标坐标为x:{{point.x}},y:{{point.y}}</h2>
</template>
<script>
   import usePoint from '../hook/point'
    export default{
        setup(){
            
            let point = usePoint()
            console.log('point', point)

            return {
                point
            }
        }
    }
</script>